<a class="add" href="<?php link_to('admin', 'credentials', 'profils-create') ?>">Ajouter un profil</a>

<form class="list" method="post" action="<?php link_to('admin', 'credentials', 'profils-multi') ?>">
<table class="list">
    <thead>
        <tr>
            <th class="checkbox"><input type="checkbox" name="checkbox_all" /></th>
            <th>Profils</th>
            <th colspan="2">Actions</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($profils AS $key=>$profil): ?>
        <tr <?php if ($key%2>0): ?>class="even"<?php endif; ?>>
            <td class="checkbox"><input type="checkbox" name="profil[]"  /></td>
            <td><?php echo $profil->name ?></td>
            <td class="action"><a class="edit" href="<?php link_to('admin', 'credentials', 'profils-edit', $profil->id) ?>" title="Modifier ce profil"></a></td>
            <td class="action"><a class="delete" href="<?php link_to('admin', 'credentials', 'profils-delete', $profil->id) ?>" title="Supprimer ce profil"></a></td>
        </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<select name="action">
    <option name="delete">Supprimer les éléments sélectionnés</option>
</select>
<input type="submit" class="submit" name="submit" value="Valider" />
</form>